package com.edmendst.xmall.mapper;

import com.edmendst.xmall.pojo.ReviewImage;
import com.edmendst.xmall.pojo.ReviewImageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ReviewImageMapper {
    long countByExample(ReviewImageExample example);

    int deleteByExample(ReviewImageExample example);

    int deleteByPrimaryKey(Integer imageId);

    int insert(ReviewImage row);

    int insertSelective(ReviewImage row);

    List<ReviewImage> selectByExample(ReviewImageExample example);

    ReviewImage selectByPrimaryKey(Integer imageId);

    int updateByExampleSelective(@Param("row") ReviewImage row, @Param("example") ReviewImageExample example);

    int updateByExample(@Param("row") ReviewImage row, @Param("example") ReviewImageExample example);

    int updateByPrimaryKeySelective(ReviewImage row);

    int updateByPrimaryKey(ReviewImage row);
}